package io.renren.modules.lanling.dao;

import io.renren.common.utils.Query;
import io.renren.modules.lanling.entity.SchoolEntity;
import io.renren.modules.lanling.entity.SchoolEvaluateEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 学校评价表
 *
 * @author LANLING
 * @email lanling@gmail.com
 * @date 2018-11-30 10:34:41
 */
public interface SchoolEvaluateDao extends BaseMapper<SchoolEvaluateEntity> {
    List<SchoolEvaluateEntity> queryList(Query query);

    Integer queryTotal(Query query);

    SchoolEvaluateEntity queryObject(@Param("id") Integer id);

    Boolean update(SchoolEvaluateEntity schoolEvaluateEntity);
}
